const information = document.getElementById("info");
information.innerText = `This app is using Chrome (v${window.versions.chrome()}), Node.js (v${window.versions.node()}), and Electron (v${window.versions.electron()})`;

const func = async () => {
  const res = await window.versions.ping();
  console.log("🚀 ~ func ~ res:", res);
};

func()